home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-07-27 | 1.2 KB | 48 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Program Options\Microsoft Office\MS Office 97"
- "NAME"="Outlook Logging"
- "VERSION"="1.14"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Log SMTP and POP3 communication"
- "DESCRIPTION 1"="If the first option is activated, Outlook will log all its communication with the server(s)."
- "DESCRIPTION 2"="These logs can be found in your TEMP folder "Outlook Logging" (for example: C:\TEMP\Outlook Logging)."
- "DESCRIPTION 3"="If you don't need them anymore, you should turn this feature off to save HD space."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sPath1="HKCU\Software\Microsoft\Office\8.0\Outlook\Options\Mail\"
- sValue1="Logging"
-
- Sub Plugin_Initialize
- if RegPathExists(sPath1) then
-
- i=RegReadValue(sPath1 & sValue1)
- if i=1 then
- Call SetUIElement(1,True)
- end if
-
- else
- Disable
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- i=GetUIElement(1)
- if i=true then
- Call RegWriteValue(sPath1 & sValue1,1,2)
- else
- Call RegWriteValue(sPath1 & sValue1,0,2)
- end if
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-